<div class='fui-according expanded'>
        <div class='fui-according-header'>
            <span class="text" style="color: #888;font-size:14px">附近门店</span>
            <span class="remark" ng-click="toogle(pagedata,'storeslistshow')"><div class="badge">{{pagedata.list.length}}</div></span>
        </div>
        <div ng-show="!pagedata.storeslistshow" class="fui-according-content store-container fui-cell-group">
            <div class="fui-cell" ng-repeat="item in pagedata.list" ng-if="$index <3" href="javascript:">
                <div class="fui-cell-icon">
                    <i class='icon icon-dianpu'></i>
                </div>
                <div class="fui-cell-text">
                    <div class="title"><span class='storename'>{{item.brandname || '无'}}({{item.title}})</span><span class="subtitle" style="margin-left:0.5rem"><i class='icon icon-map' style="color:#999;font-size:0.5rem"></i> 距离{{item.distance}}KM</span></div>
                </div>
                <div class="fui-cell-remark noremark">
                    <input type="radio" value="{{item.id}}" ng-model="pagedata.post.store_id" ng-checked="pagedata.post.store_id==item.id" class="fui-radio">
                </div>
            </div>
			<div class="fui-cell" ng-repeat="item in pagedata.list" ng-if="pagedata.showmore_stores==1 && $index >=3 && $index<10" href="javascript:">
                <div class="fui-cell-icon">
                    <i class='icon icon-dianpu'></i>
                </div>
                <div class="fui-cell-text">
                    <div class="title"><span class='storename'>{{item.title}}</span><span class="subtitle" style="margin-left:0.5rem"><i class='icon icon-map' style="color:#999;font-size:0.5rem"></i> 距离{{item.distance}}KM</span></div>
                </div>
                <div class="fui-cell-remark noremark">
                    <input type="radio" value="{{item.id}}" ng-model="pagedata.post.store_id" ng-checked="pagedata.post.store_id==item.id" class="fui-radio">
                </div>
            </div>
                <div ng-if="pagedata.list.length > 3" ng-click="pagedata.showmore_stores=1" class='show-allshop'><span class='show-allshop-btn'>加载更多门店</span></div>
        </div>

        <div id="nearStore" style="display:none">
            <div class='fui-list store-item'  id='nearStoreHtml'></div>
        </div>
</div>
<script type="text/javascript">
// 百度地图API功能
if(!scope.pagedata.post.lat){
	window.scope.location(function(re){
		scope.pagedata.post=scope.pagedata.post?scope.pagedata.post:{}
		if(!scope.pagedata.post.city){
			scope.pagedata.post.province = re.addressComponents.province;
			scope.pagedata.post.city = re.addressComponents.city;
		}
		scope.pagedata.post.lat=re.lat_lng.lat;
		scope.pagedata.post.lng=re.lat_lng.lng;
		scope.pagedata.street=re.addressComponents.street;
		scope.tool.get_list('jy_meye/index/list/',true);
	});
}else{
	scope.tool.get_list('jy_meye/index/list/',true);
}
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_meye/index/list/');
}
</script>